﻿namespace EFMysql
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("www_test.pre_menu")]
    public partial class pre_menu
    {
        public int ID { get; set; }

        [Required]
        [StringLength(20)]
        public string Title { get; set; }

        [Required]
        [StringLength(20)]
        public string Code { get; set; }

        [StringLength(20)]
        public string ParentCode { get; set; }
      
        public bool? IsLeaf { get; set; }

        public string Url { get; set; }
    }
}
